package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.booth.model.AddBoothModel;
import com.ls.controller.booth.model.EditBoothModel;
import com.ls.controller.booth.model.EditIndexModel;
import com.ls.entity.Booth;
import com.ls.utils.ResultData;

/**
 * <p>
 * 卡座 服务类
 * </p>
 *
 * @author lanchi
 * @since 2024-10-12
 */
public interface IBoothService extends IService<Booth> {
    /**
     * 添加卡座
     */
    ResultData add(AddBoothModel model);
    /**
     * 修改卡座
     */
    ResultData edit(EditBoothModel model);
    /**
     * 删除卡座
     */
    ResultData del(Long boothId);
    /**通过id查询*/
    ResultData getBoothById(Long boothId);
    /**编辑卡座排序*/
    ResultData editIndex(EditIndexModel model);
}
